<?php
/**
 * Author:   tangxiaowen
 * Email:    846506584@qq.com
 * Date:     2021/3/4 0004 15:13
 * Describe: 微信企业模块 - 授权类
 */

namespace app\manage\controller\corp;

use app\common\server\corp\Auth as AuthService;

class Auth extends Base
{

    /**
     * 获取授权链接
     */
    public function getAuthUrl($adminId = 9)
    {
        $res = (new AuthService)->getAuthUrl($adminId);
        return return_formart(['url' => $res]);
//        header("Location: $res");
    }

}